<!--<a href="/"><img src="/admins/images/mine_icn.png" alt="" border="0" /></a>&nbsp;<img src="/admins/images/pt_item.png" alt="" />&nbsp;-->
<?php 
//    $navixml = simplexml_load_string(file_get_contents(APPLICATION_PATH . '/configs/menu.xml'));
//    $request = Zend_Controller_Front::getInstance()->getRequest();
//    $module = $request->getModuleName();
//    $controller = $request->getControllerName();
//    $action = $request->getActionName();
//    $moduleNode = $navixml->$module;
//    $controllerNode = $moduleNode->childNodes->$controller;
//
//    if ($controllerNode->childNodes)
//        $actionNode = $controllerNode->childNodes->$action;
//    //$breadCrumbs = $moduleNode['title'] . '&nbsp;<img src="/admins/images/pt_item.png" alt="" />&nbsp;';
//
//
//    $breadCrumbs = "";
//    $breadCrumbs .= $controllerNode['title'];
//    if (!empty($actionNode['title'])) {
//        $breadCrumbs .= '&nbsp;<img src="/admins/images/pt_item.png" alt="" />&nbsp;' . $actionNode['title'];
//    }
//    echo $breadCrumbs;
        
        $actionnamexml = simplexml_load_string(file_get_contents(APPLICATION_PATH . '/configs/actionname.xml'));
        $request = Zend_Controller_Front::getInstance()->getRequest();
	$module = $request->getModuleName();
	$controller = $request->getControllerName();
	$action = $request->getActionName();
	$moduleNode = $actionnamexml->default;
//        var_dump($moduleNode);exit;
	$controllerNode = $moduleNode->childNodes->$controller;
//        var_dump($controllerNode);exit;
         if($controllerNode->childNodes)
            $actionNode = $controllerNode->childNodes->$action;
        
        
        $breadCrumbs="";
        $breadCrumbs .= '<img src="/admins/images/mine_icn.png" alt="" border="0" />&nbsp;'.$moduleNode["title"]."&nbsp;";
	$breadCrumbs .= '<img src="/admins/images/pt_item.png" alt="" />&nbsp'.$controllerNode['title']."&nbsp;";
	if (!empty($actionNode['title'])) {
            $breadCrumbs .= '<img src="/admins/images/pt_item.png" alt="" />&nbsp;' . $actionNode['title']."&nbsp;";
	}
        if (!empty($actionNode['name'])) {
            $breadCrumbs .= '<img src="/admins/images/pt_item.png" alt="" />&nbsp;' . $actionNode['name']."&nbsp;";
	}
	echo $breadCrumbs;
